package com.heima.article.feign;

import com.heima.model.common.dtos.ResponseResult;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;

//@FeignClient("leadnews-admin")
@Repository
public interface AdminFeign {

    @GetMapping("/api/v1/channel/channels")
    ResponseResult selectAllChannel();
}